You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Rem Method > clVector.Rem Method ([In] TOpenCLMtxVec, double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Rem Method ([In] TOpenCLMtxVec, double)

Calculates reminder after division X/Y.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Rem([In] TOpenCLMtxVec X, double Y);

Reminder is calculated by using the following formula: 

x[i]-y*Trunc(x[i]/y). 

X must be a real. The results will be saved to the calling vector. Size and Complex properties of the calling vector are set implicitly to match the X object.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!